mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:13:44 +0000 (02:13 +0000)]
bitkeeper revision 1.1159.212.89 (42042bd8voKSmpFkxv2_28yjflPbmQ)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:12:56 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.243.1 (42042ba8OAh4EZUckgdGWWSqRLutaQ)
Various cleanups, including a move to the new ring macros.
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:48:21 +0000 (22:48 +0000)]
bitkeeper revision 1.1159.212.88 (4203fbb5CoEmX_fzlXc90dxNw6gqoA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bkX
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:47:58 +0000 (22:47 +0000)]
bitkeeper revision 1.1159.242.1 (4203fb9erjxo9v5Lwlohe2bcTrLYpg)
1. Deleted slab.c, added xmalloc.c. Do not rename header or remove
unnecessary includes (yet).
2. Add explicit align arg, although current implementation
over-aligns.
3. Add list_for_each_entry_safe().
4. Make xmalloc_array use _xmalloc_array, to avoid duplicate eval
of "num" arg.
5. Rearrange slab.h a little to show the exposed functions/macros
first.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 17:35:22 +0000 (17:35 +0000)]
bitkeeper revision 1.1159.212.87 (4203b25aTB_XSOA2G0yxgrj0ey-vIA)
Defined per-CPU SYSCALL entry point for hypercalls. We enter the DOM0
kernel and can receive hypercalls. Now probably need to fix the
user-access (uaccess.h) functions and macros.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 15:27:09 +0000 (15:27 +0000)]
bitkeeper revision 1.1159.212.86 (4203944ddTnTLXj6fYycRHIqY8hdCQ)
Fix 64-bit domain builder to correctly determine required number of
page-table pages to build DOM0 image.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 14:48:37 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.85 (42038b45EjUo-1JiSCHXW0Wav4TZGQ)
x86_64 progress: now entering ring 3. Need a hypercall (SYSCALL)
entry point, and some kind of DOM0 image to test against.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 12:58:34 +0000 (12:58 +0000)]
bitkeeper revision 1.1159.223.63 (4203717aBdG3DtxPLfIkAUZh6esBbg)
added tag RELEASE-2.0.4
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 09:26:26 +0000 (09:26 +0000)]
bitkeeper revision 1.1159.212.84 (42033fc2Q0eAAtQcKyCf8cXCt_Fgfg)
Common-code cleanups, for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:25:03 +0000 (02:25 +0000)]
bitkeeper revision 1.1159.212.83 (4202dcffqbOtLEivv5VMfLvO9roE_w)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:24:03 +0000 (02:24 +0000)]
bitkeeper revision 1.1159.212.82 (4202dcc3h_cg7sFBNwdIyCk_2qkX0A)
Beginning a sprean clean of the USB code.
Lots of cleanups and fixes (thanks to Harry Butterworth for pointing out several
locking and allocation errors).
Signed-off-by: mark.williamson@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:55 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:28 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.241.3 (4202bcfcMuCoA62roOJu-r3AKctkBQ)
strncpy will stop after a zero byte. Use memcpy instead.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:05:42 +0000 (00:05 +0000)]
bitkeeper revision 1.1159.241.2 (4202bc56K28qaGGkiiKbJBLxsgnXSA)
Enable monitor assert. Earlier assert was broken and was deleted.
Signed-off-by: Joe Cihula <joseph.cihula@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:01:54 +0000 (00:01 +0000)]
bitkeeper revision 1.1159.241.1 (4202bb72zRYg-QWeXrkKfXwmuL5I3A)
Add checking ISA DMA flag in cpu_loop. Also need to do bios_init manually
for now. With this change, floppy is functional.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
mwilli2@equilibrium.research [Thu, 3 Feb 2005 23:26:30 +0000 (23:26 +0000)]
bitkeeper revision 1.1159.212.81 (4202b326JJIfXeNBQXQRsDKmhOvNEw)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 20:10:48 +0000 (20:10 +0000)]
bitkeeper revision 1.1159.240.2 (42028548cWA5UfVOtIVVGp5n3bPOKQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 20:10:15 +0000 (20:10 +0000)]
bitkeeper revision 1.1159.223.63 (
42028527-fv-d9BM0_LRp8UKGP19gQ)
Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 17:24:49 +0000 (17:24 +0000)]
bitkeeper revision 1.1159.240.1 (42025e61IuxB-TOGFWNyIT0-7gRIuw)
More x86_64 progress: currently churning through construct_dom0.
Then will need a few extensions to entry.S and I can jump to ring 3.
To get hypercalls working I will need a SYSCALL entry point and also
to add uaccess.h/usercopy.S functionality.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Thu, 3 Feb 2005 17:23:18 +0000 (17:23 +0000)]
bitkeeper revision 1.1159.212.80 (42025e060u_9I_gXRlf-Xf6Ck27Bhg)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
kaf24@planb.cl.cam.ac.uk [Thu, 3 Feb 2005 17:03:05 +0000 (17:03 +0000)]
bitkeeper revision 1.1159.212.79 (42025949UaM5lFgjnH_ynRCAqL6hhQ)
Merge planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-2.0-testing.bk
into planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 17:02:18 +0000 (17:02 +0000)]
bitkeeper revision 1.1159.223.62 (4202591aKU7cGiiCesn0hIfz1J0vUQ)
Fix bootmem allocator.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 14:45:50 +0000 (14:45 +0000)]
bitkeeper revision 1.1159.212.78 (4202391ehUS0T4TJglUpPqBH3oGjNQ)
Move domain builder to be subarch-specific. Fix pfn_info structure and
page reference-counting to be 64-bit clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 13:07:34 +0000 (13:07 +0000)]
bitkeeper revision 1.1159.212.77 (4202221693AFbvFZWeMHHIjQfbzTIQ)
More x86_64 prgress. Many more gaps filled in. Next step is DOM0
construction.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 09:11:33 +0000 (09:11 +0000)]
bitkeeper revision 1.1159.212.76 (4201eac5AlEp4jSQYKA8-oSf0N15pQ)
Add xmalloc_bytes() to the allocator API.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 09:01:35 +0000 (09:01 +0000)]
bitkeeper revision 1.1159.212.75 (4201e86fqC-UkeTMjRJgsysdz4rT7w)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 08:38:03 +0000 (08:38 +0000)]
bitkeeper revision 1.1159.223.61 (
4201e2eb-AZrvBiRdKncIUx8FuLkeA)
Fix ioremap() for local RAM pages.
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 23:14:59 +0000 (23:14 +0000)]
bitkeeper revision 1.1159.212.74 (42015ef3sPQp8pjeJAck1wBtTAYL9g)
Interface to typed allocator is now just xmalloc/xmalloc_array/xfree.
_xmalloc/_xmalloc_array are dead (or, at least, non-API).
Signed-off-by: keir.fraser@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Wed, 2 Feb 2005 23:06:19 +0000 (23:06 +0000)]
bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)
console.c:
Disable watchdog before doing the 5 second delay before machine restart.
Signed-off-by: c@pin.lu
cl349@arcadians.cl.cam.ac.uk [Wed, 2 Feb 2005 22:40:20 +0000 (22:40 +0000)]
bitkeeper revision 1.1159.223.59 (420156d4cxaGMuI8rtUWoTShsPVlNQ)
setup.c:
Always disable irqdebug until we have a way to avoid interrupt conflicts.
Signed-off-by: c@pin.lu
kaf24@viper.(none) [Wed, 2 Feb 2005 22:31:42 +0000 (22:31 +0000)]
bitkeeper revision 1.1159.212.73 (420154ceFUvIANCrxSTgPyOjFi1Pag)
More x86_64 work. Interrupts and exceptions are now working. Next step is
DOM0 construction. First part of that is to map rest of physical memory,
allocate and map the mach_to_phys table, and fix arch_init_memory().
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Wed, 2 Feb 2005 18:34:35 +0000 (18:34 +0000)]
bitkeeper revision 1.1159.239.1 (42011d3b3kafRU5DPu227sLReeeG3g)
Ignore SET_CONFIGURATION messages for now. It Works For Me (TM). Please
report any problems / weirdness you see as a result.
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 18:27:05 +0000 (18:27 +0000)]
bitkeeper revision 1.1159.212.72 (42011b79Y7C9nEKFZ5pdQXwp8jC9hw)
More x86/64. Now boot secondary CPUs, but I seem to have problems
executing IRET, so interrupts are fatal.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:24:31 +0000 (15:24 +0000)]
bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:24:12 +0000 (15:24 +0000)]
bitkeeper revision 1.1159.238.7 (4200f09cegOci_6ijw2B4UT2y9odbA)
Enforce alignment of i387 data
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:22:39 +0000 (15:22 +0000)]
bitkeeper revision 1.1159.238.6 (4200f03fkl-Cpg9vhe49bVfY0e7TZQ)
Fix deps in Makefile
mafetter@fleming.research [Wed, 2 Feb 2005 15:09:37 +0000 (15:09 +0000)]
bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA)
Fix "make dist" so that it works from inside the xen subdirectory.
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 14:11:22 +0000 (14:11 +0000)]
bitkeeper revision 1.1159.238.5 (4200df8a5A2pMKPYmS5iOV3Q8d2zIw)
Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|
20050202130109|29824
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 13:01:09 +0000 (13:01 +0000)]
bitkeeper revision 1.1159.238.4 (4200cf15b8T6NKAN_1Kqx3nMy4I7WA)
slab.c in Linux is not a very nice piece of code: the version in Xen has
been hacked a certain amount and is not a vision of beauty either.
Given how rare and non-time-critical dynamic allocations are in Xen,
this replaces the 1800-line slab.c with a 160-line malloc.c which is
written as simply as possible for future enhancement.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:54:40 +0000 (12:54 +0000)]
bitkeeper revision 1.1159.238.3 (4200cd90cCW2XIYxAgdkWL28Tzf-8g)
Introduce _xmalloc for when you really want just bytes.
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:43:34 +0000 (12:43 +0000)]
bitkeeper revision 1.1159.238.2 (4200caf6iFnj85XmiFNAz7VursMGUw)
Slab caches for things allocated only on initialization seems to be
overkill. This patch replaces them with the previous typesafe
allocator.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:34:32 +0000 (12:34 +0000)]
bitkeeper revision 1.1159.238.1 (4200c8d8KsGlaM3w6o3y4GHhK1jKjg)
A typesafe allocator submitted by Rusty Russel with trivial renames by me.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 09:38:32 +0000 (09:38 +0000)]
bitkeeper revision 1.1159.212.70 (42009f98S4XUaUN_bw-spD54MX9ZtQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 09:38:25 +0000 (09:38 +0000)]
bitkeeper revision 1.1159.237.1 (42009f91t0Aoy5LO2Vy893fGlSNC7Q)
Make MP table findable on x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 09:23:32 +0000 (09:23 +0000)]
bitkeeper revision 1.1159.212.69 (42009c14_wjFIPRo2s6br4oGS3Ln-w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 09:17:21 +0000 (09:17 +0000)]
bitkeeper revision 1.1159.223.57 (42009aa1vckOCJ3XiCz8SXnP4BQsFw)
Small hack to make CROMMULTISESSION ioctl return success rather than enosys, like we did on Xen 1.2.
From: Anthony Liguori aliguori@us.ibm.com
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@pb001.cl.cam.ac.uk [Wed, 2 Feb 2005 00:26:53 +0000 (00:26 +0000)]
bitkeeper revision 1.1159.212.68 (42001e4d1AQiGV2pdPTNrs2AU2LjsQ)
Merge pb001.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into pb001.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 00:22:15 +0000 (00:22 +0000)]
bitkeeper revision 1.1159.212.67 (42001d370Zk3jsfUjyC3iV9vgEJAlA)
Create the e820 map dynamically. This makes it easy to run VMX guests
of different memory sizes (no need to manually edit the e820 map).
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 00:14:39 +0000 (00:14 +0000)]
bitkeeper revision 1.1159.212.66 (42001b6f4kUEhmWXQmgg_vNH-AqiWQ)
Right now, the memory for the 1:1 physical mode page tables comes from the
VMX domain's memory. With this change, when the user asks for a domain with
M Megabytes of memory, we actually allocate M+N megabytes in xend, where
N is the memory for the page table pages.
This simplifies the code in the device models that maps guest memory (we
now map all of it) and the E820 map can also give the full M megabytes to
the guest.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 00:12:05 +0000 (00:12 +0000)]
bitkeeper revision 1.1159.212.65 (42001ad5CoYcWQyfGjSHSJBFeqFrLg)
Make mmio_space() static inline.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@viper.(none) [Tue, 1 Feb 2005 23:14:14 +0000 (23:14 +0000)]
bitkeeper revision 1.1159.236.1 (42000d46U0ZeCEM9d6oFhwqrTrOgDg)
Merge ssh://kaf24@scramble.cl.cam.ac.uk//usr/groups/xeno/BK/xen-unstable.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Tue, 1 Feb 2005 23:14:05 +0000 (23:14 +0000)]
bitkeeper revision 1.1159.235.1 (42000d3dwcPyT8aY4VIPYGCfCAJuQQ)
More x86/64. Status: traps.c now included in the build, but actual building
of IDT doesn't happen, and we need some sort of entry.S. More page-table
building required so that arch_init_memory() can work. And there is something
odd with MP-table parsing; I currently suspect that __init sections are
causing problems.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Tue, 1 Feb 2005 22:32:01 +0000 (22:32 +0000)]
bitkeeper revision 1.1159.212.64 (42000361XrdUoEK_vD6RMga2eLmwZg)
Allow specification of backend vif MAC addresses. If a backend
MAC is not provided, generate one as before
Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Tue, 1 Feb 2005 22:05:38 +0000 (22:05 +0000)]
bitkeeper revision 1.1159.212.63 (41fffd320J5fzfKolmEyIb6tg5-a_w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 1 Feb 2005 21:59:12 +0000 (21:59 +0000)]
bitkeeper revision 1.1159.223.56 (41fffbb0baSUSOWVCJ_0NFmEtCmUkw)
Fix the device number calculation for /dev/hd* device names;
ide device numbering works differently to scsi
Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Tue, 1 Feb 2005 21:55:39 +0000 (21:55 +0000)]
bitkeeper revision 1.1159.223.55 (41fffadb9KX8y2tjTwUVGZRrZQdJ2g)
Fix incorrect result-check in xlvbd_init_device
Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 1 Feb 2005 21:26:34 +0000 (21:26 +0000)]
bitkeeper revision 1.1159.212.62 (41fff40aESe4aWS82z_rLHeonXpxuQ)
More x86/64 stuff.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 1 Feb 2005 09:24:57 +0000 (09:24 +0000)]
bitkeeper revision 1.1159.212.61 (41ff4ae9QGwwPUv_OONjfk2SaSj0dw)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 1 Feb 2005 09:21:09 +0000 (09:21 +0000)]
bitkeeper revision 1.1159.223.54 (41ff4a05JwUWXLAjyzybyxNxCOE3yw)
Defer NMI that cannot be handled, instead of dropping it completely.
kaf24@viper.(none) [Mon, 31 Jan 2005 23:16:27 +0000 (23:16 +0000)]
bitkeeper revision 1.1159.212.60 (41febc4bKKSkh9u-Zes9v2CmBuLZxA)
More bootstrap fixes for x86/64. Next thing to do is sort out the IDT and
get traps.c working; then we can get rid of a bunch of dummy labels from
end of boot/x86_64.S. We're also going to need some kind of entry.S before
we can safely enable interrupts. Also bear in mind that not all of physical
RAM may be mapped (only first 1GB) and no m2p table is yet allocated or
mapped. Plenty to be done!
iap10@labyrinth.cl.cam.ac.uk [Sat, 29 Jan 2005 22:42:20 +0000 (22:42 +0000)]
bitkeeper revision 1.1159.212.59 (41fc114c3QNYidj-HaO5jjZA5jbgpQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Sat, 29 Jan 2005 22:20:09 +0000 (22:20 +0000)]
bitkeeper revision 1.1159.223.53 (41fc0c19tGe1rM62SUQk8WYZjH-D1Q)
Add iptables modules to the default xen0 kernel, and add example configuration files for a NAT setup.
kaf24@viper.(none) [Sat, 29 Jan 2005 12:04:19 +0000 (12:04 +0000)]
bitkeeper revision 1.1159.212.58 (41fb7bc3vOj1TsfbXqfUKqcc2wjisA)
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Sat, 29 Jan 2005 12:03:44 +0000 (12:03 +0000)]
bitkeeper revision 1.1159.223.52 (41fb7ba0KYbuQ5SmW1MZjMO0P-RCew)
Small build fixes. Xen and XenLinux now build for x86_32 from within an
x86_64 build environment if you set TARGET_ARCH=x86_32.
iap10@labyrinth.cl.cam.ac.uk [Sat, 29 Jan 2005 09:13:48 +0000 (09:13 +0000)]
bitkeeper revision 1.1159.212.57 (41fb53cc8wKjvhd8TsN4YHhUYPQCdQ)
Currently xcs is run by xend in xen-unstable by simply making it a child
process. If you launch xend from an ssh session, the session won't exit
because the xcs still is connected to it's controlling terminal.
xcs should daemonize itself to prevent this from happening. This patch
does that along with making the domain id => port mapping dynamically
allocated.
Signed-off-by: Anthony Liguori aliguori@us.ibm.com
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 23:26:21 +0000 (23:26 +0000)]
bitkeeper revision 1.1159.212.56 (41faca1d8ReaIESo4E0ltuhh1uQMSg)
Enable ne2k driver in ioemu tools.
Signed-off-by: Xin B Li <xin..b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 23:22:36 +0000 (23:22 +0000)]
bitkeeper revision 1.1159.212.55 (41fac93cdxxGNb_EjYMGmT6Ezzwr3g)
Use -O2 instead of -g when building ioemu tools.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 23:19:59 +0000 (23:19 +0000)]
bitkeeper revision 1.1159.212.54 (41fac89fnck8lIgXT0fcIHlQ9aM_7Q)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 23:19:23 +0000 (23:19 +0000)]
bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw)
Fix makefiles creating copies instead of symlinks of shared libs.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
iap10@labyrinth.cl.cam.ac.uk [Fri, 28 Jan 2005 22:30:30 +0000 (22:30 +0000)]
bitkeeper revision 1.1159.212.53 (41fabd0652DGdYKsgWToGTyAOUlZKg)
Fix the direction flag for string I/O instructions -- missing hunk from earlier patch
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 16:34:08 +0000 (16:34 +0000)]
bitkeeper revision 1.1159.212.52 (41fa6980PfhDt-hKCfacnyHcFB7DNQ)
Make page allocator 64-bit safe.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Fri, 28 Jan 2005 15:39:56 +0000 (15:39 +0000)]
bitkeeper revision 1.1159.212.51 (41fa5cccoJa4CtdiYB99zon6qwiusw)
Merge firebug.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 15:39:31 +0000 (15:39 +0000)]
bitkeeper revision 1.1159.223.50 (41fa5cb3P9qKPSczsZkXrCrJzdeZAg)
Linker fixes.
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 15:07:56 +0000 (15:07 +0000)]
bitkeeper revision 1.1159.212.50 (41fa554clYHeeIIyte3pO2pIPs3oLw)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 15:07:36 +0000 (15:07 +0000)]
bitkeeper revision 1.1159.223.49 (41fa5538VkhzExY3oLvE43gn3nUTRQ)
trivial elf-parsing fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 28 Jan 2005 13:55:00 +0000 (13:55 +0000)]
bitkeeper revision 1.1159.212.49 (41fa4434nLllzsfL7vjx8HW46L4qtA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into firebug.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Fri, 28 Jan 2005 13:54:34 +0000 (13:54 +0000)]
bitkeeper revision 1.1159.231.14 (41fa441azB6742PriyqlRlCP_gJ0Tw)
Build and x86/64 fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Fri, 28 Jan 2005 13:39:03 +0000 (13:39 +0000)]
bitkeeper revision 1.1159.212.48 (41fa4077FWhTpWbD65XTzGwOfmTJOQ)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
kaf24@scramble.cl.cam.ac.uk [Fri, 28 Jan 2005 08:40:24 +0000 (08:40 +0000)]
bitkeeper revision 1.1159.231.13 (41f9fa78wq859knq7_QhJHbyMTORCw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
mwilli2@equilibrium.research [Thu, 27 Jan 2005 23:55:18 +0000 (23:55 +0000)]
bitkeeper revision 1.1159.212.47 (41f97f66xOoJsNNqdPQ2dvZmBkFoHw)
Import hcd.c from vanilla Linux. Required a couple of ifdefs to
make 2.4 xenU domains compile with USB support.
Signed-off-by: mark.williamson@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 23:53:26 +0000 (23:53 +0000)]
bitkeeper revision 1.1159.231.12 (41f97ef6r1c2TDcgR-o8jFV1IWm5dA)
Lean decoder for MMIO instructions.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 23:49:46 +0000 (23:49 +0000)]
bitkeeper revision 1.1159.231.11 (41f97e1amKuDHSrW5ZWKsTy4ZIfNRA)
Fix the direction flag for string I/O instructions.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 23:45:32 +0000 (23:45 +0000)]
bitkeeper revision 1.1159.231.10 (41f97d1c7VgcW6eh60Nx2MTEdlYhkQ)
Free pages for VMX domain at domain termination.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 23:42:08 +0000 (23:42 +0000)]
bitkeeper revision 1.1159.231.9 (41f97c50Eg32TPmD9lVOyWCldhbhDA)
Some guests depend on getting a #GP fault in order to boot. This patch
makes sure that the GP fault is injected into the guest properly.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
mwilli2@equilibrium.research [Thu, 27 Jan 2005 20:45:16 +0000 (20:45 +0000)]
bitkeeper revision 1.1159.212.46 (41f952dcjUM7tDOqBgJxR2_d9qUROA)
Merge
cl349@arcadians.cl.cam.ac.uk [Thu, 27 Jan 2005 18:05:01 +0000 (18:05 +0000)]
bitkeeper revision 1.1159.231.8 (41f92d4dBn-4k24hnQtAJIjhmWfRjQ)
Merge changes from 2.0-testing.
Signed-off-by: c@pin.lu
cl349@arcadians.cl.cam.ac.uk [Thu, 27 Jan 2005 17:09:35 +0000 (17:09 +0000)]
bitkeeper revision 1.1159.223.48 (41f9204fFDaBv7jCdF63bwx5zXNlNA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-2.0-testing.bk
cl349@arcadians.cl.cam.ac.uk [Thu, 27 Jan 2005 17:09:14 +0000 (17:09 +0000)]
bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)
Build system cleanups.
Signed-off-by: c@pin.lu
akw27@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 16:16:19 +0000 (16:16 +0000)]
bitkeeper revision 1.1159.231.7 (41f913d39TdyKRddqjGU3m60tTUoUQ)
Remove excessive debug messages from xend/xcs interface code.
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 16:03:53 +0000 (16:03 +0000)]
bitkeeper revision 1.1159.233.1 (41f910e9AmctVZRfu78RAYbPnw3W8g)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 16:02:39 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.223.47 (41f9109fKznqwLcV_lTngHAhBvwOZw)
Minor domU net-backend fixes.
akw27@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 13:52:54 +0000 (13:52 +0000)]
bitkeeper revision 1.1159.231.6 (41f8f23655WnqWddc7mgFdntdfBkQw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
akw27@labyrinth.cl.cam.ac.uk [Thu, 27 Jan 2005 13:52:24 +0000 (13:52 +0000)]
bitkeeper revision 1.1159.232.1 (41f8f218XdvlXPM9Yr37e6XnpOV70g)
minor fix from Grzegorz.
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 13:47:18 +0000 (13:47 +0000)]
bitkeeper revision 1.1159.231.5 (
41f8f0e6-JhtoPT6MWfYIG_yE-lEtQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 13:47:05 +0000 (13:47 +0000)]
bitkeeper revision 1.1159.223.46 (41f8f0d9VFDhRZsmMXXU3I_OEu8ADQ)
silly mistake...
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 13:45:50 +0000 (13:45 +0000)]
bitkeeper revision 1.1159.231.4 (41f8f08eWBTp4qKNEBUg8ioSZa9yqA)
Makefile fix.
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 13:45:01 +0000 (13:45 +0000)]
bitkeeper revision 1.1159.231.3 (41f8f05dMzf8t3Dot3Utpuos9U5nYg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 13:44:41 +0000 (13:44 +0000)]
bitkeeper revision 1.1159.223.45 (41f8f049ZJjSGVQ7S0Y7kGBwMIZfZQ)
No longer override target arch with ARCH but instead use TARGET_ARCH.
Xen now requires specification of TARGET_ARCH alone, not TARGET_ARCH
and TARGET_SUBARCH. Xen derives correct internal ARCH/SUBARCH components
automatically.
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 10:53:58 +0000 (10:53 +0000)]
bitkeeper revision 1.1159.231.2 (41f8c846X6nmyCraD342rP9SirCaqg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 27 Jan 2005 10:53:38 +0000 (10:53 +0000)]
bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)
Allow target architecture to be specified by specifying ARCH variable to
root Makefile (e.g, make ARCH=x86_32).